﻿namespace Hiver.Util.Config.Model
{
    /// <summary>
    /// RabbitMQ配置模型
    /// </summary>
    public class Rabbitmq
    {
        /// <summary>
        /// 主机地址
        /// </summary>
        public string Host { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string Username { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }

        /// <summary>
        /// 端口号
        /// </summary>
        public string Port { get; set; }

        /// <summary>
        /// 执行间隔时间
        /// </summary>
        public int Time { get; set; }

        /// <summary>
        /// 持久化
        /// </summary>
        public bool Persistent { get; set; }
    }
}